package com.gopay.checkorder.dao;

import java.util.Date;
import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.bank.BankAuthOrder;
/**
 * @BankAuthOrderDAO.java
 * @author lilili
 * @2017年1月16日 上午10:30:08  www.gopay.com.cn Inc.All rights reserved.
 */
public interface BankAuthOrderDAO extends BaseDAO<BankAuthOrder, String> {

	 public int getCheckOrderCount(String orderStatus);
	    
	 public List<BankAuthOrder> getCheckOrder(String orderStatus, int count, int pageIndex, int pageSize);
	 
	 public int getCheckOrderCount(Date date);
	 
	 public List<BankAuthOrder> getCheckOrder(Date date, int pageIndex, int pageSize);
	 
	 public int updateTotalCheckTimes(BankAuthOrder bankOrder);
	 
	 public int updateBackStatus(BankAuthOrder authOrder);
}
